import request from '@/utils/request'

export function addUsed(data) {
  return request({
    url: '/api/used/add',
    method: 'post',
    data
  })
}

export function getUsedList(year,month) {
  return request({
    url: '/api/used/list',
    method: 'get',
		params: { year,month }
  })
}
export function getUsedUserList() {
  return request({
    url: '/api/used/userlist',
    method: 'get'
  })
}